package com.skywolf.chem.achievement.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.skywolf.chem.achievement.entity.CtSysAchievement;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.skywolf.chem.achievement.pojo.CtAchievementMatchPageParam;
import com.skywolf.chem.achievement.pojo.CtSysAchievementMatchDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 运动成就系统配置表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2021-11-08
 */
@Mapper
public interface CtSysAchievementMapper extends BaseMapper<CtSysAchievement> {
    /**
     * 获取分页列表
     * @param page
     * @param param
     * @return
     */
    IPage<CtSysAchievementMatchDto> getMatchPageList(@Param("page") Page<CtSysAchievementMatchDto> page, @Param("param") CtAchievementMatchPageParam param);

    List<CtSysAchievement> getAll();
}
